import { http } from '@/utils/http'

export default {
  // 个人考核评分
  getPersonAccess: (params) => http.get('/hall/hallUserEvaluation/selfScore', params),

  // 个人考核列表
  getPersonAccessList: (params) => http.get('/hall/hallUserEvaluation/list', params),
  // 获取考核字段及分数
  getPersonAccessTarget: (params) =>
    http.get('/hall/hallUserEvaluation/queryEvaluationTargetById', params),
  // 个人考核详情
  getPersonAccessDetail: (params) => http.get(`/hall/hallUserEvaluation/queryById`, params),
  // 对个人进行初评
  submitPersonEarlyScore: (data) => http.post(`/hall/hallUserEvaluation/evaluation`, data),
  // 对个人进行终评
  submitPersonFinallyScore: (data) => http.post(`/hall/hallUserEvaluation/finalEvaluation`, data),
}
